package cn.lili.controller.user;

import cn.lili.common.vo.ResultMessage;
import cn.lili.modules.member.service.VipFlowService;
import cn.lili.modules.system.entity.dto.VipFlowDto;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/user/vipflow")
public class VipFlowController {
    @Autowired
    private VipFlowService flowService;

    /**
     * 查看流水
     */
    @ApiModelProperty(value = "查看流水")
    @GetMapping("/page")
    public ResultMessage<Object> findViPFlow(VipFlowDto dto){
       return flowService.findPage(dto);
    }
}
